package com.yf.mapper;

import com.yf.entity.Department;

import java.util.List;

public interface DepartmentMapper {

    void addDepartment(Department department);

    void deleteDepartment(Integer deptId);

    void updateDepartment(Department department);

    Department getDepartmentByDeptId(Integer deptId);

    List<Department> getDepartmentList();
}
